package com.jiuzhi.ssm.common.redis;

/**
 * 
 *缓存key命名规范 
 *模块名:缓存数据类型(比如H 表示hashmap): 后面的是此缓存的名称
 *缓存key 变量
 */
public final class RedisKey {
 
	/**
	 *  资源上传凭证 设置有效期
	 */
	public static final String RESOUCE_FILE = "RESOURCE:FILE:S:KEY[%s]";
	
	/**
	 * 短信随机码
	 */
	public static final String USER_SMS_CODE = "USER:SMS:CODE:S:[%s]";
	
	public static final String STARTPAGE_IMAGEURL_CODE = "PAGE:IMAGEURL:LIST:S:[WG]";
	
	//通知公告是否已读
	public static final String NOTICE_MSG = "NOTICE:MSG:H:[%s]";
	
	
	public static final String JPUSH_MSG_ID = "JPUSH:MSG:ID:S:KEY[%s][%s][%s]";
	
	public static final String JPUSH_FIRST_MSG = "JPUSH:FIRST:MSG:L:KEY[%s]";

	/**
	 * 任务超时
	 */
	public static final String JOB_TIMEOUT = "JOB:TIMEOUT:H:KEY";
	
	/**
	 * 任务即将超时
	 */
	public static final String JOB_TIMEOUT_SOON = "JOB:TIMEOUT:SOON:H:KEY";
}
